hip.hipaudio.backend.sles

Undocumented in source.

Members

Functions

getAudioPlayerInterfaces
const(SLInterfaceID)[] getAudioPlayerInterfaces(bool willUseFastMixer)
Undocumented in source. Be warned that the author may not have intended to support it.
getAudioPlayerRequirements
SLboolean[] getAudioPlayerRequirements(const(SLInterfaceID)[] itfs)
Undocumented in source. Be warned that the author may not have intended to support it.
sliBufferData
void sliBufferData(SLIBuffer* buffer, void[] data)

Copies data inside the buffer on its immutable size. Use that on unlocked buffers.

sliClearErrors
void sliClearErrors()
Undocumented in source. Be warned that the author may not have intended to support it.
sliCreateOutputContext
bool sliCreateOutputContext(bool hasProAudio, bool hasLowLatencyAudio, int optimalBufferSize, int optimalSampleRate, bool willUseFastMixer)
Undocumented in source. Be warned that the author may not have intended to support it.
sliDestroyBuffer
void sliDestroyBuffer(SLIBuffer* buff)

Invalidates the buffer and makes it null

sliDestroyContext
void sliDestroyContext()
Undocumented in source. Be warned that the author may not have intended to support it.
sliError
bool sliError(SLresult res, string errMessage, string file, string func, uint line)
Undocumented in source. Be warned that the author may not have intended to support it.
sliGenAudioPlayer
SLIAudioPlayer* sliGenAudioPlayer(SLDataSource src, SLDataSink dest, bool autoRegisterCallback)

Returns null on failure.

sliGenBuffer
SLIBuffer* sliGenBuffer(void[] data, size_t size)

Creates an unresizable buffer(tightly packed) for not getting a cache miss

sliGetError
string sliGetError(SLresult res)
Undocumented in source. Be warned that the author may not have intended to support it.
sliGetErrorMessages
string sliGetErrorMessages()
Undocumented in source. Be warned that the author may not have intended to support it.
sliToAttenuation
float sliToAttenuation(float gain)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

engine
SLIEngine engine;

Engine related objects

engineMajor
short engineMajor;
Undocumented in source.
engineMinor
short engineMinor;
Undocumented in source.
enginePatch
short enginePatch;
Undocumented in source.
genPlayers
SLIAudioPlayer*[] genPlayers;
Undocumented in source.
outputMix
SLIOutputMix outputMix;

Controls the output and the players

sliErrorMessages
string[] sliErrorMessages;
Undocumented in source.
sliErrorQueue
SLresult[] sliErrorQueue;

OpenSL ES Debuggability

Structs

SLIAudioPlayer
struct SLIAudioPlayer
Undocumented in source.
SLIBuffer
struct SLIBuffer

Must be used as an opaque pointer

SLIEngine
struct SLIEngine

Packs engine interface, object and capabilities and give a cleaner interface for use

SLIOutputMix
struct SLIOutputMix
Undocumented in source.

Meta